package test.model;

import m.common.model.FieldMeta;
import m.common.model.Model;
import m.common.model.TableMeta;
import m.common.model.type.FieldType;

@TableMeta(name = "t_user_info", description = "用户信息")
public class UserInfo extends Model {
    @FieldMeta(name="user_name",type= FieldType.STRING,length=50,description="用户名")
    private String userName;
    @FieldMeta(name="password",type= FieldType.STRING,length=50,description="密码")
    private String password;
    @FieldMeta(name="token",type= FieldType.STRING,length=50,description="token")
    private String token;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
